Here's a posting from Adam Lock to this newsgroup a while ago to build winembed from
within the VC++ IDE.

I used the same process to integrate mozilla/embedding/tests/mfcembed/makefile.win
with the VC++ IDE - and it works.

Chak


> Subject: Re: WinEmbed on Win32...
> Date: 26 Sep 2000 12:47:34 GMT
> From: [EMAIL PROTECTED] (Adam Lock)
> Organization: Another Netscape Collabra Server User
> To: Chris Jones <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Newsgroups: netscape.public.mozilla.embedding
> References: <8qob4l$[EMAIL PROTECTED]>
>
> How are you importing it into Visual Studio?
>
> The way I recommend is to run VC++, choose "File|New...", pick the "Projects"
> tab, select "Makefile", type a name and a path for the project, e.g. "winEmbed"
> & "c:\source\mozilla\embedding\tests\winEmbed" and change the command-line build
> args to "nmake /f makefile.win" and the build target to
> "win32_d.obj\winEmbed.exe".
>
> VC++ then starts up and you can add the source files to the appropriate folders
> in the project. Hitting the build button causes "nmake /f makefile.win" to be
> invoked.
>
> When it comes to running or debugging it, you must change the project debug
> settings so that the working directory is the mozilla bin directory and debug
> executable is the winEmbed.exe in there. If you don't do this then winEmbed will
> be unable to find the DLLs or create the components it needs to work properly.


Reply via email to