nemesis011397
asked on
Problems compiling a plug-in
Hello. I just want to make a plug-in that will have a dialog
box appear (not embedded in a page).
I am having incredible trouble just doing this.
If
A) Someone could give me some source code which would do what I said above and which will
actually compile.
or
B) If someone could tell me how to fix this (which I believe will actually make a plug-in that I have been working on for a long time not crash when its called upon.
--------------------Config uration: np_print - Win32 DLL--------------------
Linking...
Creating library np_print.lib and object np_print.exp
np_print.dll : warning LNK4086: entrypoint "_WinMainCRTStartup" is not __stdcall with 12 bytes of arguments; image may not run
np_print.dll - 0 error(s), 1 warning(s)
BTW I got the book NetScape Plug-Ins Developer's Kit by Mike Morgan. Would probably be a good book if the freakin example actually worked...(he doens't even give all the project files on his cd so you can easily compile his programs.
Thanks in advance....
----Dave
box appear (not embedded in a page).
I am having incredible trouble just doing this.
If
A) Someone could give me some source code which would do what I said above and which will
actually compile.
or
B) If someone could tell me how to fix this (which I believe will actually make a plug-in that I have been working on for a long time not crash when its called upon.
--------------------Config
Linking...
Creating library np_print.lib and object np_print.exp
np_print.dll : warning LNK4086: entrypoint "_WinMainCRTStartup" is not __stdcall with 12 bytes of arguments; image may not run
np_print.dll - 0 error(s), 1 warning(s)
BTW I got the book NetScape Plug-Ins Developer's Kit by Mike Morgan. Would probably be a good book if the freakin example actually worked...(he doens't even give all the project files on his cd so you can easily compile his programs.
Thanks in advance....
----Dave
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Uh, wait. I just noticed you're building a DLL. Is that true? Are you giving the linker the /DLL flag on the command line? What entry point are you specifying to the linker with the /ENTRY option?
.B ekiM
.B ekiM
ASKER
BTW I did email the author...and have got no response back.
Also his website doesn't mention his book at all.