Click here to Skip to main content
15,904,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using swap to make assignment operator exception safe Pin
George_George8-Jan-08 2:30
George_George8-Jan-08 2:30 
GeneralRe: using swap to make assignment operator exception safe Pin
toxcct8-Jan-08 2:37
toxcct8-Jan-08 2:37 
GeneralRe: using swap to make assignment operator exception safe Pin
George_George8-Jan-08 3:13
George_George8-Jan-08 3:13 
GeneralStrange error ! Pin
CrocodileBuck8-Jan-08 0:26
CrocodileBuck8-Jan-08 0:26 
GeneralRe: Strange error ! Pin
CPallini8-Jan-08 0:39
mveCPallini8-Jan-08 0:39 
GeneralRe: Strange error ! Pin
CrocodileBuck8-Jan-08 0:54
CrocodileBuck8-Jan-08 0:54 
GeneralYou're welcome Pin
CPallini8-Jan-08 1:50
mveCPallini8-Jan-08 1:50 
GeneralRe: Strange error ! Pin
Matthew Faithfull8-Jan-08 0:49
Matthew Faithfull8-Jan-08 0:49 
This is exactly what CPallini and I were talking about when you posted about this before. The C++ side needs to have __stdcall calling convention. This makes the order parameters are put on and pulled off the stack (and which side is responsible for cleanup) compatible with VB. Otherwise your stack is trashed on the return from the call, hence the error your're seeing. You're fortunate, in the past the error would have been silent and your C++ would have blown up spectacularly the next time it made a function call OMG | :OMG: .
You need to find the definition of WIN32DLL02_API and make sure it includes __declspec(__stdcall)

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: Strange error ! Pin
CrocodileBuck8-Jan-08 1:12
CrocodileBuck8-Jan-08 1:12 
GeneralHandling the message by minimizing using "Windows key+D" Pin
Mohammad Khodaea8-Jan-08 0:10
Mohammad Khodaea8-Jan-08 0:10 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
toxcct8-Jan-08 0:13
toxcct8-Jan-08 0:13 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Mohammad Khodaea8-Jan-08 1:44
Mohammad Khodaea8-Jan-08 1:44 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 2:01
professionalRajesh R Subramanian8-Jan-08 2:01 
QuestionRe: Handling the message by minimizing using "Windows key+D" Pin
David Crow8-Jan-08 3:18
David Crow8-Jan-08 3:18 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 3:29
professionalRajesh R Subramanian8-Jan-08 3:29 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
David Crow8-Jan-08 3:36
David Crow8-Jan-08 3:36 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 3:39
professionalRajesh R Subramanian8-Jan-08 3:39 
JokeRe: Handling the message by minimizing using "Windows key+D" Pin
toxcct8-Jan-08 3:48
toxcct8-Jan-08 3:48 
JokeRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 3:50
professionalRajesh R Subramanian8-Jan-08 3:50 
JokeRe: Handling the message by minimizing using "Windows key+D" Pin
toxcct8-Jan-08 3:52
toxcct8-Jan-08 3:52 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 3:56
professionalRajesh R Subramanian8-Jan-08 3:56 
QuestionRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 0:50
professionalRajesh R Subramanian8-Jan-08 0:50 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Mohammad Khodaea8-Jan-08 1:27
Mohammad Khodaea8-Jan-08 1:27 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
toxcct8-Jan-08 1:55
toxcct8-Jan-08 1:55 
GeneralRe: Handling the message by minimizing using "Windows key+D" Pin
Rajesh R Subramanian8-Jan-08 2:00
professionalRajesh R Subramanian8-Jan-08 2:00 

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.