Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Volodya Orlenko

@Volodya Orlenko
About
Posts
11
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DLL Function in VB
    V Volodya Orlenko

    ATL objects are COM objects. You've got to create an instance of a class to use its functions. In general, you cannot use a member function of your C++ class without creating an instance of that class. It looks like you try to use member functions without creating any variables of that object's type. Volodya Orlenko, orlenko [at] hotmail [dot] com

    Visual Basic c++ com debugging help tutorial

  • DLL Function in VB
    V Volodya Orlenko

    Ok, I see what you ae trying to do. Please download that example and modify it for your needs. It works. Note that he did not use any COM classes! You could do exactly the same by creating a new dll from scratch. Volodya Orlenko, orlenko [at] hotmail [dot] com

    Visual Basic c++ com debugging help tutorial

  • DLL Function in VB
    V Volodya Orlenko

    If I understand you correctly, you created an ATL Dll, a COM object in it, and now you want to use its methods just as dll functions, without that COM object at all? That will not work. To create a simple dll to be used from VB or C or whatever, you do not need ATL. Use "New", then select "Win32 Dynamic-Link Library" in your Visual C++. Volodya Orlenko, orlenko [at] hotmail [dot] com

    Visual Basic c++ com debugging help tutorial

  • find and replace (simple VBA)
    V Volodya Orlenko

    Here's a script that works: Sub Macro8() Dim fContinue As Boolean fContinue = True Dim Sel As Range Do While fContinue Set Sel = Selection.Range Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = " " .Replacement.Text = " " .Forward = True .Wrap = wdFindAsk .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With fContinue = Selection.Find.Execute(Replace:=wdReplaceOne) Selection.Start = Sel.Start Selection.End = Sel.End Loop End Sub Volodya Orlenko, orlenko [at] hotmail [dot] com

    Visual Basic question help

  • DLL Function in VB
    V Volodya Orlenko

    Can you give a small example of code (C++/ATL and VB) that gives this behavior? I remember having this sort of problem, but I don't remember how I solved it ;) (Though I did solve it, so maybe I'll be able to help :) ) Volodya Orlenko, orlenko [at] hotmail [dot] com

    Visual Basic c++ com debugging help tutorial

  • .NET expansion?
    V Volodya Orlenko

    In my high school years in Ukraine (former Soviet Union) we actually used the "algorythmic language" which looked like Нач Если (a > b) то Вых Иначе Печ "message" Кон (I'm not sure this cyrillic text is readable for all) Later at university, we had a very old computer (SM 1420) with Russian OS where you could type English commands using Russian alphabet. That was most funny :) Volodya Orlenko, orlenko [at] hotmail [dot] com

    The Lounge c++ csharp perl dotnet question

  • Downturn turnabout?
    V Volodya Orlenko

    Hi Lucy, I am coming to Canada (Vancouver) in two weeks, and what I see on monster.ca does not look very encouraging. :eek: I wonder how many months I will spend until I find something... Volodya Orlenko, orlenko [at] hotmail [dot] com

    The Lounge question career

  • no more debugging FAQ.
    V Volodya Orlenko

    Use realloc function.
    Example:
    char * flexBuff; flexBuff = (char *)malloc(1); // you wanted 1 element initially flexBuff[0] = 'a'; flexBuff = (char *)realloc((void *)flexBuff, 10); // flexBuff[0] still contains 'a', and you have 9 bytes more allocated Volodya Orlenko, orlenko [at] hotmail [dot] com

    C / C++ / MFC data-structures question

  • How can I use FSO instructions in my project??
    V Volodya Orlenko

    Hi Ahuva, the FileSystemObject object ;) does not have a method named "createfile". Use CreateTextFile instead. Good luck. Volodya Ahuva wrote: Set d = CreateObject("scripting.FileSystemObject") d.createfile ("c:\program files\Ahuva\testing.txt") Volodya Orlenko, orlenko [at] hotmail [dot] com

    Visual Basic question sysadmin help

  • Problem registering a dll in Win 95
    V Volodya Orlenko

    Thanks a lot. I'll experiment with that tonight. Volodya Orlenko, orlenko [at] hotmail [dot] com

    C / C++ / MFC help question c++ com tutorial

  • Problem registering a dll in Win 95
    V Volodya Orlenko

    Hello all, I am experiencing a problem with one of the dlls in my project. It's a COM dll (written in VC++, compiled under Win2000 as MinDependency) that uses winsock and wininet, and when I try to regsvr32 it under Windows 95, it gives a "LoadLibrary failed (error 485)" message. All other dlls register properly. Windows 98, NT, 2000 have no such problem. Here's what is specified in its Object/Library modules list: "wininet.lib Ws2_32.lib" The system with problems has IE5 installed, so I don't think it's wininet that causes problems. So, does anyone know how to solve it in the best way? Help is greatly appreciated. Volodya Orlenko, orlenko [at] hotmail [dot] com

    C / C++ / MFC help question c++ com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups