Thread: Win32 DLL in Visual Studio.net

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    6

    Win32 DLL in Visual Studio.net

    I have experience in console-based C but none in interfacing with Windows. I need to write a Win32 DLL that can be called from VBA, and the compiler I have available is Visual Studio .net. The platform is Windows 2000.

    I know how to write the C code and know how to call DLLs from VBA, but I don't know how to turn my code into a DLL.

    I have found many tutorials that explain how to write DLLs in C++ (which I don't know) or in C for previous versions of Vis Studio (which I don't have).

    Could anyone recommend any resources (books or web sites) that would ease my transition from console-based C to windows-based C using VS.net?

    Any pointers (null or otherwise!) would be greatly appreciated.

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is COM.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 07-19-2008, 03:12 PM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. MS Visual C++ 6 wont include vector.h in a header file
    By bardsley99 in forum C++ Programming
    Replies: 9
    Last Post: 11-06-2003, 12:05 PM
  5. Create a Window in a Win32 Dll?
    By RedLenses in forum C++ Programming
    Replies: 1
    Last Post: 05-21-2002, 02:21 PM