|
I think his application is started as a service when windows starts, so it's a bit too late to open VC and attach the debugger
|
|
|
|
|
May be. But I couldn't make out anything from what he said.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
The hint is in the title and in his previous message
|
|
|
|
|
window != Windows for me. I actually thought he is talking about some window. Or may be that I'm not smart enough.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Naaah, it's just that you didn't use your CPMRU properly
|
|
|
|
|
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
So have you ever tried to connect to database through ADO and make it run with window ? Plz give me some code examples
|
|
|
|
|
I'm sorry if my question is so vague. I meant Windows I put my application path in registry (create a value in ...\Run) and I repeat my application works well when I debug in VC. It just doesn't work when Windows starts
|
|
|
|
|
Have you seen this?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I've searched for many hours but I found no result ... Some one has mentioned that problem but they didn't solve it ...
|
|
|
|
|
Have you tried the hotfix from Microsoft?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I don't know I will wander some IT forum to ask if anyone has the same problem. Thanks for all of your answers
|
|
|
|
|
capint wrote: I don't know
How can you not know if you've installed a hotfix or not?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Don't get me started. He may not know. But, you should know it. Just get your CPMRU started.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
hi,
is there any function how to enum fonts and posible size...
I would like to make font dialog as a Paint.exe aplication has.
Or is it posible to change CFontDialog to make it looks like font dialog in Paint.
(without terrible subclassing tricks)
Thankx
viliam
|
|
|
|
|
This might help you out:CFontListBox[^]
BTW, please use the search feature.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
|
hi,
in C++ (not vc++) how can I print a text in position x,y of screen?
Best wishes
|
|
|
|
|
gotoxy() should help you do this.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
unfortunately, there is NO standard C++ function to do this.
borland provides gotoxy(), VC++ provides others, but none in the standard C++ however
|
|
|
|
|
OK - I searched MSDN and found this:
SetConsoleCursorPosition[^]
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I want to get API Information (retval type, argument counts, argument type) from API Name in runtime.
For expample,
PAPI_INFO api = GetAPIInfo("CreateFile");
printf("retval type: %s\n", CODE2TEXT(api->RetvalType));
printf("arg counts: %d\n", api->NumberOfArgs);
for (i = 0; i < api->NumberOfArgs; i++) {
printf("arg %d type: %s", i, CODE2TEXT(api->Args[i].Type));
}
If you have good idea other than parsing header files, tell me please.
|
|
|
|
|
jm_240 wrote: If you have good idea other than parsing header files
Yes: pass to managed code.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPallini wrote: Yes: pass to managed code.
Thank you for your answer.
However, I don't understand how to solve it using managed code.
Could you tell me more details?
# Of course, I know what managed code is.
|
|
|
|
|
Well, did you notice the joke icon?
Anyway, you cannot solve your original problem using to managed code. I was simply pointing out that such info is a facility managed code provides (via reflection) for itself.
I.e. using managed code you may obtain a lot of useful info about (managed code's) methods even loading dynamically assemblies.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|