Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Edit box Pin
Hamid_RT27-Jun-06 20:11
Hamid_RT27-Jun-06 20:11 
GeneralRe: Edit box Pin
Diglu27-Jun-06 20:31
Diglu27-Jun-06 20:31 
AnswerRe: Edit box Pin
songlei27-Jun-06 19:12
songlei27-Jun-06 19:12 
Questionhow to change the background color of menu bar ? Pin
mimimimilaw27-Jun-06 18:34
mimimimilaw27-Jun-06 18:34 
AnswerRe: how to change the background color of menu bar ? Pin
songlei27-Jun-06 19:14
songlei27-Jun-06 19:14 
AnswerRe: how to change the background color of menu bar ? Pin
Walter Zorn28-Jun-06 14:27
Walter Zorn28-Jun-06 14:27 
QuestionMime Filter and Name Space problem Pin
Tcpip200527-Jun-06 18:03
Tcpip200527-Jun-06 18:03 
QuestionSend Integer to DLL Pin
borono27-Jun-06 17:39
borono27-Jun-06 17:39 
Hey, I am trying to send an integer from a VB 6.0 application to a VC++ 6.0 DLL. I know how to send strings, but still having trouble getting numbers to take.

I represent the incoming data as an u_int, I interpret the return as a long, and I send the data as an Integer.

VC++ 6.0 Side:
int _stdcall test(u_int test1, u_int test2, u_int test3) 
{

//code here...

return 0; 
}


VB 6.0 Side:
Public Declare Function test Lib "MyDll.dll" (ByVal test1 As Long, _
                                              ByVal test2 As Long, _
                                              ByVal test3 As Long) as long


Call test(1,100,25)


The initial setup crashes the application. So, I just need help sending numeric values to my dll, so that i can interpret them as u_int and use their values in my code. So, if I send the number 100, I need that number to go to my dll and be defined as 100, so that I can use that number in my code, within the function.

need more info? let me know, all help is appreciated, thanks in advance

salut
AnswerRe: Send Integer to DLL Pin
bob1697227-Jun-06 19:17
bob1697227-Jun-06 19:17 
GeneralRe: Send Integer to DLL Pin
borono27-Jun-06 19:35
borono27-Jun-06 19:35 
GeneralRe: Send Integer to DLL Pin
Anna-Jayne Metcalfe27-Jun-06 21:48
Anna-Jayne Metcalfe27-Jun-06 21:48 
GeneralRe: Send Integer to DLL Pin
borono27-Jun-06 22:08
borono27-Jun-06 22:08 
AnswerRe: Send Integer to DLL Pin
S Douglas28-Jun-06 12:21
professionalS Douglas28-Jun-06 12:21 
QuestionAccesing protected function from another class Pin
Ram Murali27-Jun-06 16:00
Ram Murali27-Jun-06 16:00 
AnswerRe: Accesing protected function from another class Pin
Michael Dunn27-Jun-06 16:11
sitebuilderMichael Dunn27-Jun-06 16:11 
GeneralRe: Accesing protected function from another class [modified] Pin
The Other Brad Larsen27-Jun-06 17:36
The Other Brad Larsen27-Jun-06 17:36 
QuestionAppend a space to a string... Pin
Shrinaresh27-Jun-06 13:09
Shrinaresh27-Jun-06 13:09 
AnswerRe: Append a space to a string... Pin
Maximilien27-Jun-06 13:27
Maximilien27-Jun-06 13:27 
GeneralRe: Append a space to a string... Pin
Shrinaresh27-Jun-06 13:36
Shrinaresh27-Jun-06 13:36 
AnswerRe: Append a space to a string... Pin
Michael Dunn27-Jun-06 13:41
sitebuilderMichael Dunn27-Jun-06 13:41 
GeneralRe: Append a space to a string... Pin
Shrinaresh27-Jun-06 15:58
Shrinaresh27-Jun-06 15:58 
AnswerRe: Append a space to a string... Pin
Christian Graus27-Jun-06 13:42
protectorChristian Graus27-Jun-06 13:42 
AnswerThis is what I am trying to do... Pin
Shrinaresh27-Jun-06 16:08
Shrinaresh27-Jun-06 16:08 
GeneralRe: This is what I am trying to do... Pin
Michael Dunn27-Jun-06 16:16
sitebuilderMichael Dunn27-Jun-06 16:16 
GeneralRe: This is what I am trying to do... Pin
Shrinaresh27-Jun-06 16:36
Shrinaresh27-Jun-06 16:36 

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.