Click here to Skip to main content
15,915,600 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Add a dll in vb6 Pin
toxcct18-May-05 1:07
toxcct18-May-05 1:07 
GeneralRe: Add a dll in vb6 Pin
Rizwan Bashir18-May-05 2:11
Rizwan Bashir18-May-05 2:11 
GeneralRe: Add a dll in vb6 Pin
toxcct18-May-05 2:16
toxcct18-May-05 2:16 
GeneralRe: Add a dll in vb6 Pin
Rizwan Bashir18-May-05 2:38
Rizwan Bashir18-May-05 2:38 
GeneralRe: Add a dll in vb6 Pin
toxcct18-May-05 2:41
toxcct18-May-05 2:41 
GeneralRe: Add a dll in vb6 Pin
rwestgraham18-May-05 10:05
rwestgraham18-May-05 10:05 
GeneralRe: Add a dll in vb6 Pin
Its due when18-May-05 13:33
Its due when18-May-05 13:33 
GeneralRe: Add a dll in vb6 Pin
rwestgraham18-May-05 14:32
rwestgraham18-May-05 14:32 
Unfortunately calling non-COM dlls is not that simple. ByVal is not a general rule by any means, many if not even most parameters must be passed ByRef. Also, you have to translate some C/C++ types into VB-friendly data types. Many types commonly used in C/C++ can be translated into VB types but not all. There is no guarantee that you can call all functions exposed by a non-COM DLL. Writing proper Declare statements is part experience, part trial and error. Save your work frequently - improperly declared DLL calls can often cause your application to crash.

There are rules that Windows uses to locate DLLs. Generally if you put the DLL in either the application folder or the WinSys folder, it will be found.

Robert
GeneralRe: Add a dll in vb6 Pin
Its due when18-May-05 15:53
Its due when18-May-05 15:53 
GeneralRe: Add a dll in vb6 Pin
rwestgraham19-May-05 10:16
rwestgraham19-May-05 10:16 
GeneralRe: Add a dll in vb6 Pin
Its due when19-May-05 15:16
Its due when19-May-05 15:16 
GeneralRemove Items from Collection Pin
nitin_ion17-May-05 19:12
nitin_ion17-May-05 19:12 
GeneralRe: Remove Items from Collection Pin
Dave Kreskowiak17-May-05 19:23
mveDave Kreskowiak17-May-05 19:23 
GeneralRe: Remove Items from Collection Pin
nitin_ion17-May-05 19:29
nitin_ion17-May-05 19:29 
GeneralRe: Remove Items from Collection Pin
Christian Graus17-May-05 19:31
protectorChristian Graus17-May-05 19:31 
GeneralRe: Remove Items from Collection Pin
toxcct18-May-05 1:11
toxcct18-May-05 1:11 
GeneralRe: Remove Items from Collection Pin
Christian Graus18-May-05 12:40
protectorChristian Graus18-May-05 12:40 
GeneralSign Out/Log Off Problem Pin
meetaqadir17-May-05 18:19
meetaqadir17-May-05 18:19 
GeneralRe: Sign Out/Log Off Problem Pin
Yulianto.17-May-05 18:39
Yulianto.17-May-05 18:39 
GeneralRe: Sign Out/Log Off Problem Pin
meetaqadir18-May-05 0:36
meetaqadir18-May-05 0:36 
GeneralRe: Sign Out/Log Off Problem Pin
Dave Kreskowiak18-May-05 3:26
mveDave Kreskowiak18-May-05 3:26 
GeneralEMAIL COMPONENT Pin
aqui_i17-May-05 16:48
aqui_i17-May-05 16:48 
QuestionHow to Make a Remote Dekstop Program Pin
Fidi astutik17-May-05 15:39
Fidi astutik17-May-05 15:39 
AnswerRe: How to Make a Remote Dekstop Program Pin
Christian Graus17-May-05 16:05
protectorChristian Graus17-May-05 16:05 
AnswerRe: How to Make a Remote Dekstop Program Pin
XenoTech4-Aug-05 13:54
XenoTech4-Aug-05 13:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.