Link to home
Start Free TrialLog in
Avatar of nemesis011397
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.

--------------------Configuration: 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
ASKER CERTIFIED SOLUTION
Avatar of mikeblas
mikeblas

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nemesis011397
nemesis011397

ASKER

I did not define _WinMainCRTStartup myself....I couldn't find this anywhere in fact.  Would it be possible to zip up the project file and send it to you?

BTW I did email the author...and have got no response back.
Also his website doesn't mention his book at all.

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