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

C / C++ / MFC

 
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 
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 
borono wrote:
all help is appreciated


VB6 Doesn't know Unsigned integers, just use the long type (both VB & VC).


borono wrote:
I need that number to go to my dll and be defined as 100


In that case what is wrong with just using a plain integer (this one I know works, I have used this method)?

Public Declare Function test Lib "MyDll.dll" (ByVal test1 As Integer,<br> _                                              ByVal test2 As Integer,<br> _                                              ByVal test3 As Integer) as Integer


int _stdcall test(int test1, int test2, int test3) {//code here...return 0; }


If your returning 0, why return anything at all? Returning void will work, change your vb declare from a Function type to a Sub type.



I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:

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 
QuestionRe: This is what I am trying to do... Pin
David Crow28-Jun-06 7:33
David Crow28-Jun-06 7:33 
QuestionRe: Append a space to a string... Pin
David Crow28-Jun-06 6:15
David Crow28-Jun-06 6:15 
AnswerRe: Append a space to a string... Pin
Shrinaresh28-Jun-06 7:18
Shrinaresh28-Jun-06 7:18 
GeneralRe: Append a space to a string... Pin
David Crow28-Jun-06 7:34
David Crow28-Jun-06 7:34 
QuestionFile operations Pin
peruv27-Jun-06 13:08
peruv27-Jun-06 13:08 

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.