Jump to content

Recommended Posts

Posted

Hello there,

 

basically I do something simple....

I build an executable and I ask it to export symbols, just like a dll. Then the lib generated is used to build a dll.

At runtime, the executable will do a LoadLibrary on the dll generated. This works fine on Windows Desktop, or Symbian for example.

 

When I tried that in eVC4 a few years ago, it didn't work. All the compiling and linking gave no problem at all, everything fine. However at run time, the LoadLibrary returned a NULL pointer.

 

The only workaround I found was to split my executable in a very small executable and a big dll. Then, building the plugin dll, linking to a dll, not an executable, it could be retrieved by the LoadLibrary.

 

Having switched to Visual Studio 2005, I gave it a try, and it's still the same problem. Instead of having an executable and a plug in dll, I have an executable and a dll, plus the plugin dll.

 

Is there any reason it doesn't work in Win CE ?

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...