Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Widgets - General questions or Mixed problems
»
gui in dll does not compile
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
gui in dll does not compile
[
message #43566
]
Mon, 01 September 2014 13:09
aftershock
Messages:
143
Registered:
May 2008
Experienced Member
Hi,
I have a simple dll... I thought I would put the gui there
#include <CtrlLib/CtrlLib.h>
#include <windows.h>
#include "ultimatewindll.h"
using namespace Upp;
BOOL APIENTRY DllMain(HANDLE hModule, DWORD reason, LPVOID lpReserved)
{
switch (reason) {
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}
DllExport void PromptOK2(char * Str)
{
PromptOK("Hello world");
}
When I compile
----- ultimatewindll ( DLL SSE2 GUI MAIN MSC9 WIN32 MSC ) (8 /
cd d:\m\upp\ultimatewindll
Linking...
link -nologo -machine:I386 -pdb:" d:\upp4_6_2014\out\MyApps\MSC9.Dll.Gui.Sse2\ultimatewindll.p db " -out:"d:\upp4_6_2014\out\MyApps\MSC9.Dll.Gui.Sse2\ultimatewi
ndll.dll" -incremental:no -release -OPT:REF,ICF -subsystem:windows -DLL -LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\Lib" -LIBPATH:"C:\Pro
gram Files\Microsoft SDKs\Windows\v7.0\Lib" " d:\upp4_6_2014\out\MyApps\ultimatewindll\MSC9.Dll.Gui.Main.S se2\ultimatewindll.obj " "d:\upp4_6_2014\ou
t\MyApps\CtrlCore\MSC9.Dll.Gui.Sse2\CtrlCore.obj" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\advapi32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7
.0\Lib\comdlg32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\comctl32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\user32.lib" "C:\Progra
m Files\Microsoft SDKs\Windows\v7.0\Lib\gdi32.lib" " d:\upp4_6_2014\out\MyApps\CtrlCore\MSC9.Dll.Gui.Sse2\CtrlCor e.lib " "C:\Program Files\Microsoft SDKs\Windo
ws\v7.0\Lib\user32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\gdi32.lib" "d:\upp4_6_2014\out\MyApps\Draw\MSC9.Dll.Gui.Sse2\Draw.lib" "d:\upp4_6_2
014\out\MyApps\plugin\bmp\MSC9.Dll.Gui.Sse2\BmpReg.obj" " d:\upp4_6_2014\out\MyApps\plugin\bmp\MSC9.Dll.Gui.Sse2\bmp.l ib " "d:\upp4_6_2014\out\MyApps\RichText\
MSC9.Dll.Gui.Sse2\RichImage.obj" " d:\upp4_6_2014\out\MyApps\RichText\MSC9.Dll.Gui.Sse2\RichTex t.lib " "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\kernel
32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\user32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\ws2_32.lib" "C:\Program Files\Microso
ft SDKs\Windows\v7.0\Lib\advapi32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\shell32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\winmm
.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\mpr.lib" "d:\upp4_6_2014\out\MyApps\Core\MSC9.Dll.Gui.Sse2\Core.lib" "d:\upp4_6_2014\out\MyApps\plugi
n\z\MSC9.Dll.Gui.Sse2\z.lib" " d:\upp4_6_2014\out\MyApps\plugin\png\MSC9.Dll.Gui.Sse2\pngre g.obj " "d:\upp4_6_2014\out\MyApps\plugin\png\MSC9.Dll.Gui.Sse2\png.
lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\kernel32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\user32.lib" "C:\Program Files\Microsof
t SDKs\Windows\v7.0\Lib\advapi32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\shell32.lib" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\winmm.
lib"
Creating library d:\upp4_6_2014\out\MyApps\MSC9.Dll.Gui.Sse2\ultimatewindll.l ib and object d:\upp4_6_2014\out\MyApps\MSC9.Dll.Gui.Sse2\ultimatewindll.e xp
ultimatewindll.obj : error LNK2019: unresolved external symbol "void __cdecl Upp::PromptOK(char const *)" (?PromptOK@Upp@@YAXPBD@Z) referenced in function _P
romptOK2
d:\upp4_6_2014\out\MyApps\MSC9.Dll.Gui.Sse2\ultimatewindll.d ll : fatal error LNK1120: 1 unresolved externals
I get unresolved external..
I guess it could be a bug....
Or can you tell me how to resolve this?
A.
Report message to a moderator
[
Message index
]
gui in dll does not compile
By:
aftershock
on Mon, 01 September 2014 13:09
Re: gui in dll does not compile
By:
andreincx
on Mon, 01 September 2014 14:44
Re: gui in dll does not compile
By:
aftershock
on Mon, 01 September 2014 15:39
Re: gui in dll does not compile
By:
aftershock
on Mon, 01 September 2014 15:42
Re: gui in dll does not compile
By:
aftershock
on Mon, 01 September 2014 19:16
Previous Topic:
mixed RichEdit widget with MFC Dialog.
Next Topic:
ColumnList multi select mode: weird behavior
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Mon Apr 29 09:39:07 CEST 2024
Total time taken to generate the page: 0.02723 seconds