|
-
May 5th, 2020, 02:14 AM
#2
Re: How to use a _declspec(dllexport) in VB6?
 Originally Posted by Jacob Roman
The question is, how can I write extern "C" { _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; } in VB6? 
One way would be to just compile this C/C++ snippet to an .obj file and then use LinkSwitches in the project .vbp to add it to the final executable.
(Perhaps someone here can provide a zipped project with all steps above set up for you.)
cheers,
</wqw>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|