PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
Having troubles loading Dll created in C++-VBForums
Results 1 to 2 of 2

Thread: Having troubles loading Dll created in C++

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Location
    Slovenia
    Posts
    100

    Having troubles loading Dll created in C++

    Right now im writing dll for physics engine in C++ but when i try to load that dll in VB6 i just get Run-Time Error 453 it says "Cant find Dll entry point CTestLoad in C:\physics.dll".



    VB Code:
    1. Private Declare Function DllTest Lib " C:\physics.dll" Alias "CTestLoad" (hWdn As Long) As Long
    2.  
    3.  
    4. Private Sub Command1_Click()
    5. Print DllTest(10)
    6. End Sub
    Dll which im using is just created just as exsample
    Last edited by BlackCatSLO; Mar 29th, 2007 at 09:51 AM.



  2. #2
    Junior Member
    Join Date
    Mar 2007
    Location
    New Jersey
    Posts
    30

    Re: Having troubles loading Dll created in C++

    Make sure that you have programmed the C++ DLL properly. Check out this page http://www.doombuilder.com/bobw_download.php (specifically the download which has source code) and make sure that you have done it correctly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width