Re: Override Runtime liberay functions

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Igor, thanks for quick reply. Before I left work on Friday I did create a
function and added it to a new library that I created for this purpose. I
got it to compile and link but the system function was called - not mine. I
don't think I used extern "C" in my .cpp file. Maybe that's why it didn't
work? I'll try extern "C" on Monday. Thanks.


.



Relevant Pages

  • Re: Problems using function templates
    ... > In my .cpp file I've implemented it like this: ... If the 'extern' doesn't work (I actually ... header-file or in a hexgen.inl file and place an ... at the bottom of your header. ...
    (comp.lang.cpp)
  • Re: Global variable
    ... I typically put the extern ... ... in a .cpp file as Scott illustrated. ... Now I get the following error message: ... // .h file (outside class declarations) ...
    (microsoft.public.vc.mfc)
  • Re: non-static global variables and the extern qualifier
    ... Rather define it in the .cpp file, ... Well, not in the global scope, but within a function, yes. ... but you must have declared it extern. ... The "extern int i" tells the compiler that there is a ...
    (comp.lang.cpp)
  • Re: A problem when linking in VC
    ... it under an extern "C" block in a CPP file or in a C file? ... GetDeviceInterfaceSymbolicLinkNew(void *,struct _GUID const *,unsigned ... Debug/Test.exe: fatal error LNK1120: 1 unresolved externals ...
    (microsoft.public.development.device.drivers)
  • Re: theApp
    ... > Why when I use theApp object in another CPP file. ... extern is the solution, so you probably used it incorrectly. ...
    (microsoft.public.vc.mfc)