Re: Resource file and linking C++ project using winelib

2005-11-02 Thread Boaz Harrosh
Sergio wrote: My problem was that the MainDll function in the source lacked << extern "C" Now my question is: how's it that VC++ did not need that? Yes. VC++ Has special handling for DllMain,WinMain and such. Depending on the different targets you have (MFC COM C and so on) there is di

Re: Resource file and linking C++ project using winelib

2005-11-02 Thread Dimi Paun
From: "Sergio" <[EMAIL PROTECTED]> > Now my question is: how's it that VC++ did not need that? Maybe it has special handling for main()? -- Dimi.

Re: Resource file and linking C++ project using winelib

2005-11-02 Thread Sergio
OK. I have solved the problem. I will explain it a little just in case someone runs into the same 'problem'. First of all, linking res files in c++ projects works fine. My problem was that the MainDll function in the source lacked << extern "C" >> in its declaration. Inside that function the plugi

Resource file and linking C++ project using winelib

2005-11-01 Thread Brenda y Sergio
Hi all, I am porting an application from windows to linux (Miranda IM, a multiprotocol IM program). I have just run into one problem: the file gets compiled and runs, but the resources (icons, dialogs, images) do not seem to be working (i.e.: they are simply not shown). Sometimes, I am getting thi