Author Topic: wxWidgets 2.8.3 dll  (Read 4679 times)

Offline Knx

  • Multiple posting newcomer
  • *
  • Posts: 41
wxWidgets 2.8.3 dll
« on: May 20, 2007, 09:37:33 pm »
Code
This application can not be started because the file wxmsw28u_gcc_custom.dll has not been found.

I know where this DLL is stored, if I copy it to the .EXE's folder it works.

But I want to know if there is a way to add this automatically and how to change dll's name.
Using:
• Code::Blocks SVN        • wxWidGets 2.8.6
• Windows XP SP2          • MinGW Latest  Wish List • Code folding (For wxSmith and more options like NetBeans)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: wxWidgets 2.8.3 dll
« Reply #1 on: May 20, 2007, 11:08:25 pm »
Code
This application can not be started because the file wxmsw28u_gcc_custom.dll has not been found.

I know where this DLL is stored, if I copy it to the .EXE's folder it works.

But I want to know if there is a way to add this automatically and how to change dll's name.

Do you know what an static build is?

If you just want to change the word custom in the DLL name look up the VENDOR in the wxWidgets info.

See docs/msw/install.txt

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Knx

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: wxWidgets 2.8.3 dll
« Reply #2 on: May 20, 2007, 11:56:45 pm »
Thanks

Code
VENDOR=<your company name>
  Set this to a short string identifying your company if you are planning to
  distribute wxWidgets DLLs with your application. Default value is 'custom'.
  This string is included as part of DLL name. wxWidgets DLLs contain compiler
  name, version information and vendor name in them. For example
  wxmsw283_core_bcc_custom.dll is one of DLLs build using Borland C++ with
  default settings. If you set VENDOR=mycorp, the name will change to
  wxmsw283_core_bcc_mycorp.dll.

Quote
Do you know what an static build is?

I know how to link static libraries, but I don't know how to use dynamic libraries...
Using:
• Code::Blocks SVN        • wxWidGets 2.8.6
• Windows XP SP2          • MinGW Latest  Wish List • Code folding (For wxSmith and more options like NetBeans)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: wxWidgets 2.8.3 dll
« Reply #3 on: May 21, 2007, 12:28:20 am »
Thanks

Code
VENDOR=<your company name>
  Set this to a short string identifying your company if you are planning to
  distribute wxWidgets DLLs with your application. Default value is 'custom'.
  This string is included as part of DLL name. wxWidgets DLLs contain compiler
  name, version information and vendor name in them. For example
  wxmsw283_core_bcc_custom.dll is one of DLLs build using Borland C++ with
  default settings. If you set VENDOR=mycorp, the name will change to
  wxmsw283_core_bcc_mycorp.dll.

Quote
Do you know what an static build is?

I know how to link static libraries, but I don't know how to use dynamic libraries...

There is many ways to move the DLL, but there is no way for me to know why you do not want do it manually.
If, you don't want an DLL just do an static build.
If, you are an developer writing an application look at the documentation of the installer program you plan to use.
If, you are just starting out and are willing to risk DLL Hell http://en.wikipedia.org/wiki/DLL_Hell, then copy the DLLs to an directory in your path.
If, you want you can write an batch, or script, file that copies the DLL and make it part of your project.

Note, the above methods most likely are not complete; they are just the ones I thought right now.

I myself just copy it manually or use a static library build.
But, I know enough to do the installer method, I just have not yet done it with wxWidgets DLL.
The only method I have not done, or know how to do, is use a batch file to copy the DLL.

Note, a primary reason I don't copy the wxWidgets DLL to a folder in the path is that I am always making different version of the DLL to test. If DLL was in the path, the testing would not be as easy.

Tim S
« Last Edit: May 21, 2007, 12:43:43 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Knx

  • Multiple posting newcomer
  • *
  • Posts: 41
Re: wxWidgets 2.8.3 dll
« Reply #4 on: May 21, 2007, 01:12:49 am »
Thanks for the information.
I'll move it manually so I can control it better.
Using:
• Code::Blocks SVN        • wxWidGets 2.8.6
• Windows XP SP2          • MinGW Latest  Wish List • Code folding (For wxSmith and more options like NetBeans)