Click here to Skip to main content
15,921,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Show Data in ComboBox Pin
bhat26-Feb-08 3:32
bhat26-Feb-08 3:32 
GeneralRe: Show Data in ComboBox Pin
David Crow26-Feb-08 3:43
David Crow26-Feb-08 3:43 
GeneralRe: Show Data in ComboBox Pin
Demian Panello26-Feb-08 3:49
Demian Panello26-Feb-08 3:49 
GeneralRe: Show Data in ComboBox Pin
bhat26-Feb-08 4:17
bhat26-Feb-08 4:17 
GeneralRe: Show Data in ComboBox Pin
Demian Panello26-Feb-08 7:12
Demian Panello26-Feb-08 7:12 
GeneralConversion of VC++ char array from client side to Delphi String at Server Side Pin
CraZyToLearn26-Feb-08 2:15
CraZyToLearn26-Feb-08 2:15 
GeneralRe: Conversion of VC++ char array from client side to Delphi String at Server Side Pin
CraZyToLearn26-Feb-08 2:26
CraZyToLearn26-Feb-08 2:26 
GeneralRe: Conversion of VC++ char array from client side to Delphi String at Server Side Pin
Matthew Faithfull26-Feb-08 2:50
Matthew Faithfull26-Feb-08 2:50 
I'm no Delphinium but as a general approach you need to determine the byte count sizes of the types involved e.g. sizeof(TNetConnectCheck) and make sure they match up. You might also want to control the data type alignment on the client side, see #pragma push pack : 1 (That syntax is wrong so you'll need to search ) or __align your client side data type.
You also need to check whether the string types on the Delphi side are NULL terminated or not and setup the client side data appropriately.
Finally you need to check the calling convention, e.g. __cdecl, __stdcall or Delphi equivalents of the actual call between the two modules and make sure both sides are expecting the same behaviour in terms of stack cleanup. I suspect this last part is already OK or you would not be getting as close as you are but it does no harm to check and be sure you understand what's happening under the hood. Smile | :)

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

GeneralRe: Conversion of VC++ char array from client side to Delphi String at Server Side Pin
CraZyToLearn26-Feb-08 20:08
CraZyToLearn26-Feb-08 20:08 
General[Message Deleted] Pin
Paulraj G26-Feb-08 1:43
Paulraj G26-Feb-08 1:43 
GeneralRe: image to stream Pin
Iain Clarke, Warrior Programmer26-Feb-08 1:51
Iain Clarke, Warrior Programmer26-Feb-08 1:51 
GeneralRe: image to stream Pin
Paulraj G26-Feb-08 1:53
Paulraj G26-Feb-08 1:53 
GeneralAbout graphics memory Pin
manish.patel26-Feb-08 1:31
manish.patel26-Feb-08 1:31 
GeneralRe: About graphics memory Pin
Mark Salsbery26-Feb-08 5:35
Mark Salsbery26-Feb-08 5:35 
Generalmemorystream Pin
Paulraj G26-Feb-08 0:40
Paulraj G26-Feb-08 0:40 
GeneralRe: memorystream Pin
Iain Clarke, Warrior Programmer26-Feb-08 0:54
Iain Clarke, Warrior Programmer26-Feb-08 0:54 
GeneralRe: memorystream Pin
Paulraj G26-Feb-08 1:20
Paulraj G26-Feb-08 1:20 
GeneralRe: memorystream Pin
Iain Clarke, Warrior Programmer26-Feb-08 1:38
Iain Clarke, Warrior Programmer26-Feb-08 1:38 
GeneralRe: memorystream Pin
Rajkumar R26-Feb-08 1:41
Rajkumar R26-Feb-08 1:41 
GeneralRe: memorystream Pin
Paulraj G26-Feb-08 1:56
Paulraj G26-Feb-08 1:56 
GeneralRe: memorystream Pin
Rajkumar R26-Feb-08 2:05
Rajkumar R26-Feb-08 2:05 
GeneralRe: memorystream Pin
Mark Salsbery26-Feb-08 5:48
Mark Salsbery26-Feb-08 5:48 
QuestionRe: memorystream Pin
David Crow26-Feb-08 3:19
David Crow26-Feb-08 3:19 
GeneralRe: memorystream Pin
CPallini26-Feb-08 4:28
mveCPallini26-Feb-08 4:28 
Generalregarding project!! Pin
rowdy_vc++26-Feb-08 0:37
rowdy_vc++26-Feb-08 0:37 

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.