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

C / C++ / MFC

 
GeneralShow Data in ComboBox Pin
bhat26-Feb-08 2:51
bhat26-Feb-08 2:51 
QuestionRe: Show Data in ComboBox Pin
David Crow26-Feb-08 3:16
David Crow26-Feb-08 3:16 
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 
I am sending login credentials through ActiveX Control developed in VC++ 6.0 to Server side which is developed in Delphi
//Client side struct in VC++ 6.0
typedef struct
{
char User[41];
char Password[41];
char ClientVersion[41];
char EndCode[2];
}TNetConnectCheck;

//Server side struct in Delphi6
TNetConnectCheck = record
UserName : string[40];
Password : string[40];
ClientVersion : String[40]; // Added by Ravi on : 03/08/2006
EndCode : array[0..1] of Char;
end;

but, I am getting some junk characters in the strings at serverside eg. User name like 'CrazyToLearn#0...#0'

I want to send the packet which is having the length 125 to server with exact 'CrazyToLearn' not with any padding 0 or junk characters.

I tried all the trims dynamic char array but cant solve the problem, Please instant help will be really appriciated...
THANX

CraZyToLearn
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 
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 

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.