Click here to Skip to main content
16,011,680 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Blue ComboBox, Problem with DrawItem Pin
l a u r e n1-Mar-01 3:37
l a u r e n1-Mar-01 3:37 
GeneralRe: Blue ComboBox, Problem with DrawItem Pin
16-May-01 3:03
suss16-May-01 3:03 
GeneralHOWTO: Determine windows login Pin
neilbennevis1-Mar-01 1:23
neilbennevis1-Mar-01 1:23 
GeneralWriting a C++ DLL with VB-compatibility in mind Pin
#realJSOP1-Mar-01 1:14
professional#realJSOP1-Mar-01 1:14 
GeneralRe: Writing a C++ DLL with VB-compatibility in mind Pin
l a u r e n1-Mar-01 3:28
l a u r e n1-Mar-01 3:28 
GeneralRe: Writing a C++ DLL with VB-compatibility in mind Pin
#realJSOP1-Mar-01 3:33
professional#realJSOP1-Mar-01 3:33 
GeneralRe: Writing a C++ DLL with VB-compatibility in mind Pin
l a u r e n1-Mar-01 3:41
l a u r e n1-Mar-01 3:41 
GeneralRe: Writing a C++ DLL with VB-compatibility in mind Pin
Chris Losinger1-Mar-01 3:57
professionalChris Losinger1-Mar-01 3:57 
the VB person only needs the DLL and perhaps your .h file so he (i'll assume "he") can see the function declarations. then he'll need to write some VB function import/declarations for your DLL. if you're kind, you'll write these function declarations for him Smile | :)

as far as compatibility - VB can deal with C interfaced DLL's (not C++) pretty well. i tend to stick with 32-bit parameters, and if i have to pass a structure, i make sure the elements of that structure are all 32 bits. this way VB can use "Long" for all of your parameters (except strings).

the only thing you really need to be careful of is getting the VB function declarations right - match parameter sizes and get the correct ByRef/ByVal flags on those parameters.

-c

------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
GeneralRun a program Pin
1-Mar-01 1:11
suss1-Mar-01 1:11 
GeneralRe: Run a program Pin
1-Mar-01 1:15
suss1-Mar-01 1:15 
GeneralCMapStringToString Pin
28-Feb-01 23:51
suss28-Feb-01 23:51 
GeneralRe: CMapStringToString Pin
Steve Driessens2-Mar-01 3:05
Steve Driessens2-Mar-01 3:05 
GeneralNeed help with Dialogs... Pin
28-Feb-01 23:35
suss28-Feb-01 23:35 
GeneralRe: Need help with Dialogs... Pin
l a u r e n28-Feb-01 23:38
l a u r e n28-Feb-01 23:38 
GeneralThreading in vc Pin
28-Feb-01 22:32
suss28-Feb-01 22:32 
GeneralRe: Threading in vc Pin
l a u r e n28-Feb-01 23:34
l a u r e n28-Feb-01 23:34 
GeneralRe: Threading in vc Pin
Erik Funkenbusch1-Mar-01 13:09
Erik Funkenbusch1-Mar-01 13:09 
GeneralRe: Threading in vc - solution Pin
1-Mar-01 13:17
suss1-Mar-01 13:17 
GeneralRe: How I can do it !!! Pin
l a u r e n28-Feb-01 23:36
l a u r e n28-Feb-01 23:36 
GeneralRe: How I can do it !!! Pin
28-Feb-01 23:20
suss28-Feb-01 23:20 
GeneralRe: How I can do it !!! Pin
Ahmad28-Feb-01 23:07
Ahmad28-Feb-01 23:07 
GeneralRe: How I can do it !!! Pin
28-Feb-01 22:30
suss28-Feb-01 22:30 
QuestionHow to Manage CTreeCtrl ??? Pin
Ariel28-Feb-01 19:27
Ariel28-Feb-01 19:27 
AnswerRe: How to Manage CTreeCtrl ??? Pin
l a u r e n28-Feb-01 23:41
l a u r e n28-Feb-01 23:41 
GeneralRe: How to Manage CTreeCtrl ??? Pin
Le Ridder Noir1-Mar-01 3:42
Le Ridder Noir1-Mar-01 3:42 

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.