Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDLL - Multithreading Pin
borono7-Apr-06 5:40
borono7-Apr-06 5:40 
AnswerRe: DLL - Multithreading Pin
Richard Andrew x647-Apr-06 5:58
professionalRichard Andrew x647-Apr-06 5:58 
GeneralRe: DLL - Multithreading Pin
borono7-Apr-06 6:09
borono7-Apr-06 6:09 
GeneralRe: DLL - Multithreading Pin
Richard Andrew x647-Apr-06 6:21
professionalRichard Andrew x647-Apr-06 6:21 
GeneralRe: DLL - Multithreading Pin
borono7-Apr-06 7:01
borono7-Apr-06 7:01 
GeneralRe: DLL - Multithreading Pin
Richard Andrew x647-Apr-06 7:16
professionalRichard Andrew x647-Apr-06 7:16 
GeneralRe: DLL - Multithreading Pin
borono7-Apr-06 7:46
borono7-Apr-06 7:46 
GeneralRe: DLL - Multithreading Pin
Richard Andrew x647-Apr-06 8:01
professionalRichard Andrew x647-Apr-06 8:01 
borono wrote:
Also, I don't have a DLLMAin function


Did you write this DLL? What language was used to write the DLL?


borono wrote:
Plus, doesn't the API cause leaks?


What kind of "leaks" are you talking about? And NO, the API by itself does not cause memory leaks.

If you want to create additional threads, you are going to have to use the Win32 API. I don't know of any way in VB6 to create additional threads.


borono wrote:
I also need to send the stats back to the VB app


For this, I would suggest looking up how to implement something called a "callback function" in your VB6 app. Then have the thread in your DLL periodically call the callback function with the necessary data.
AnswerRe: DLL - Multithreading Pin
Waldermort7-Apr-06 7:48
Waldermort7-Apr-06 7:48 
GeneralRe: DLL - Multithreading Pin
borono7-Apr-06 8:27
borono7-Apr-06 8:27 
GeneralRe: DLL - Multithreading Pin
Richard Andrew x647-Apr-06 9:04
professionalRichard Andrew x647-Apr-06 9:04 
GeneralRe: DLL - Multithreading Pin
borono7-Apr-06 11:58
borono7-Apr-06 11:58 
QuestionAlternative Shell for Windows Pin
Richard Andrew x647-Apr-06 5:15
professionalRichard Andrew x647-Apr-06 5:15 
AnswerRe: Alternative Shell for Windows Pin
James Brown7-Apr-06 6:31
James Brown7-Apr-06 6:31 
QuestionSetting a timer Pin
LCI7-Apr-06 4:54
LCI7-Apr-06 4:54 
AnswerRe: Setting a timer Pin
jhwurmbach7-Apr-06 5:20
jhwurmbach7-Apr-06 5:20 
QuestionRe: Setting a timer Pin
David Crow7-Apr-06 5:24
David Crow7-Apr-06 5:24 
AnswerRe: Setting a timer Pin
LCI7-Apr-06 5:45
LCI7-Apr-06 5:45 
Questionchain code Pin
izzah_mustapha7-Apr-06 4:28
izzah_mustapha7-Apr-06 4:28 
AnswerRe: chain code Pin
toxcct7-Apr-06 4:41
toxcct7-Apr-06 4:41 
AnswerRe: chain code Pin
Chris Losinger7-Apr-06 4:44
professionalChris Losinger7-Apr-06 4:44 
Questionconverting XML to string Pin
nahitan7-Apr-06 3:59
nahitan7-Apr-06 3:59 
QuestionMultiple OpenGL Problem..MFC 8.0 SDI Pin
BrownJacket7-Apr-06 3:55
BrownJacket7-Apr-06 3:55 
QuestionHow to make an MDI child wnd like Model dlg? Pin
Sarvan AL7-Apr-06 3:43
Sarvan AL7-Apr-06 3:43 
AnswerRe: How to make an MDI child wnd like Model dlg? Pin
jhwurmbach7-Apr-06 4:00
jhwurmbach7-Apr-06 4: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.