Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralThreads using up too much CPU Pin
15-May-05 3:47
suss15-May-05 3:47 
GeneralRe: Threads using up too much CPU Pin
the one dono15-May-05 6:20
the one dono15-May-05 6:20 
QuestionQuestion: How to retrieve the HINSTANCE when you have HWND? Pin
lxcid14-May-05 23:50
lxcid14-May-05 23:50 
AnswerRe: Question: How to retrieve the HINSTANCE when you have HWND? Pin
bharadwajgangadhar15-May-05 2:05
bharadwajgangadhar15-May-05 2:05 
AnswerRe: Question: How to retrieve the HINSTANCE when you have HWND? Pin
PJ Arends15-May-05 10:42
professionalPJ Arends15-May-05 10:42 
GeneralVisual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas14-May-05 23:08
Axonn Echysttas14-May-05 23:08 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
the one dono15-May-05 4:47
the one dono15-May-05 4:47 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas15-May-05 5:47
Axonn Echysttas15-May-05 5:47 
Oh. ChartoBSTR is a simple function that does the said conversion. I copy pasted it into my Application. It has nothing to do with the problem, since in one function it works and in other function of the same file, it crashes. It's not about this function. I also tried without it, just making up some dummy string. And I got the same behavior.

With or without that function, calling back my VB function works from in the first case, and doesn't work in the second case. So... I'm kind of puzzled Confused | :confused: . Could it be that I can't call a VB function unless I called from VB first?

Since in the first case, I call a Visual C++ function, that, in turn, calls my function from VB. This works. But if I want to call the function from VB from that TimerProc (or from anywhere else for that matter), it doesn't work. I tried calling this from a HookProc too... if I do that, the process that contains the hook crashes. Grrrr : ).

-= E C H Y S T T A S =-
The Greater Mind Balance
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
the one dono15-May-05 6:34
the one dono15-May-05 6:34 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas15-May-05 11:59
Axonn Echysttas15-May-05 11:59 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
ThatsAlok15-May-05 18:27
ThatsAlok15-May-05 18:27 
GeneralRe: Visual C++ Callbacks Issue - Auto Callbacks Pin
Axonn Echysttas16-May-05 2:08
Axonn Echysttas16-May-05 2:08 
QuestionGetting WM_DROPFILES from child control? Pin
matthew18014-May-05 19:26
matthew18014-May-05 19:26 
GeneralAddFontResource Pin
Inov14-May-05 16:52
Inov14-May-05 16:52 
GeneralRe: AddFontResource Pin
Jack Puppy14-May-05 17:38
Jack Puppy14-May-05 17:38 
Generaldialog box Pin
rain71114-May-05 14:57
rain71114-May-05 14:57 
GeneralRe: dialog box Pin
David Crow15-May-05 16:28
David Crow15-May-05 16:28 
GeneralRe: dialog box Pin
rain71122-May-05 3:47
rain71122-May-05 3:47 
GeneralRe: dialog box Pin
David Crow23-May-05 1:56
David Crow23-May-05 1:56 
GeneralRe: dialog box Pin
ThatsAlok15-May-05 18:35
ThatsAlok15-May-05 18:35 
GeneralRe: dialog box Pin
rain71122-May-05 3:50
rain71122-May-05 3:50 
GeneralHTML parser Pin
princess sarah14-May-05 12:21
princess sarah14-May-05 12:21 
GeneralRe: HTML parser Pin
Jack Puppy14-May-05 15:35
Jack Puppy14-May-05 15:35 
GeneralRe: HTML parser Pin
princess sarah14-May-05 19:45
princess sarah14-May-05 19:45 
GeneralRe: HTML parser Pin
Jack Puppy14-May-05 20:29
Jack Puppy14-May-05 20:29 

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.