Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvirtual address and real address Pin
zon_cpp5-Nov-07 1:10
zon_cpp5-Nov-07 1:10 
AnswerRe: virtual address and real address Pin
James R. Twine5-Nov-07 1:25
James R. Twine5-Nov-07 1:25 
QuestionCString to COleDateTime type. Pin
Marimuthu.r5-Nov-07 1:06
Marimuthu.r5-Nov-07 1:06 
AnswerRe: CString to COleDateTime type. Pin
James R. Twine5-Nov-07 1:20
James R. Twine5-Nov-07 1:20 
AnswerRe: CString to COleDateTime type. Pin
Marimuthu.r5-Nov-07 1:37
Marimuthu.r5-Nov-07 1:37 
QuestionHow to get execution time of a function in microsecs? Pin
shir_k5-Nov-07 0:24
shir_k5-Nov-07 0:24 
AnswerRe: How to get execution time of a function in microsecs? Pin
ThatsAlok5-Nov-07 0:52
ThatsAlok5-Nov-07 0:52 
GeneralRe: How to get execution time of a function in microsecs? Pin
James R. Twine5-Nov-07 1:29
James R. Twine5-Nov-07 1:29 
GeneralRe: How to get execution time of a function in microsecs? Pin
ThatsAlok5-Nov-07 2:03
ThatsAlok5-Nov-07 2:03 
AnswerRe: How to get execution time of a function in microsecs? Pin
James R. Twine5-Nov-07 1:35
James R. Twine5-Nov-07 1:35 
QuestionAPI for Protected o/s Files Pin
bholoo5-Nov-07 0:14
bholoo5-Nov-07 0:14 
QuestionAdmin gets access denied Pin
vipin_nvk5-Nov-07 0:10
vipin_nvk5-Nov-07 0:10 
QuestionRe: Admin gets access denied Pin
Mark Salsbery5-Nov-07 5:35
Mark Salsbery5-Nov-07 5:35 
QuestionHard disk size?!| Pin
Arish rivlin4-Nov-07 23:46
Arish rivlin4-Nov-07 23:46 
AnswerRe: Hard disk size?!| Pin
Paresh Chitte5-Nov-07 0:05
Paresh Chitte5-Nov-07 0:05 
AnswerRe: Hard disk size?!| Pin
ThatsAlok5-Nov-07 0:48
ThatsAlok5-Nov-07 0:48 
NewsJust a side note... Pin
jhwurmbach5-Nov-07 7:36
jhwurmbach5-Nov-07 7:36 
Questionhow to debug thread in other process? CreateRemoteThread Pin
code_discuss4-Nov-07 23:02
code_discuss4-Nov-07 23:02 
QuestionAccess DLL from "Common files" in multilingual environment Pin
FredeCH4-Nov-07 22:12
FredeCH4-Nov-07 22:12 
AnswerRe: Access DLL from "Common files" in multilingual environment Pin
Nelek4-Nov-07 23:54
protectorNelek4-Nov-07 23:54 
GeneralRe: Access DLL from "Common files" in multilingual environment Pin
FredeCH5-Nov-07 1:42
FredeCH5-Nov-07 1:42 
Thank's Nelek,
Actually I didn't find something relevant about my issue. I know well NSIS, as I used to work with it in my former job. This is REALLY a wonderful tool. Unfortunately, my current company uses the installer provided with Visual Studio 2005. Maybe we'll change once Wink | ;-)

Anyway, by looking furthermore on the net, we have found another solution. Instead of importing the DLL itself, I import the GUID of this DLL. For this to work, of course, the DLL must be registered.
The GUID was found using the OLE/COM object viewer tool from Visual Studio tools.

So, the import look like:

#import "libid:00000205-0000-0010-8000-00AA006D2EA4" no_namespace rename("EOF", "EndOfFile")

instead of

#import "C:\Program Files\common files\System\ado\msado15.dll" no_namespace rename("EOF", "EndOfFile")



Regards


Fred
GeneralOfftopic Pin
Nelek5-Nov-07 2:14
protectorNelek5-Nov-07 2:14 
GeneralRe: Offtopic Pin
FredeCH5-Nov-07 20:23
FredeCH5-Nov-07 20:23 
GeneralRe: Offtopic Pin
Nelek5-Nov-07 20:52
protectorNelek5-Nov-07 20:52 
QuestionE_ACCESSDENIED issue Pin
monsieur_jj4-Nov-07 19:54
monsieur_jj4-Nov-07 19:54 

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.