Home » U++ Library support » U++ Core » Creating a com object
Creating a com object [message #32782] |
Thu, 09 June 2011 09:16 |
|
Hello All.
Now I'm trying to create a com object.
If I do not use Upp::String class then all works fine.
Midl compile without errors, the generated library loaded in other system without error and can use.
But when I try to use Upp::String then the created com object (dll) does not load into other system.
The Upp:String I use internly only:
like this:
Upp::String test("Some examples");
Any hints are welcome!
Add:
forgot to say:
I add in link option:
where .def file contains:
; AddIn.def : Declares the module parameters.
LIBRARY "1CAddIn_test.dll"
EXPORTS
DllCanUnloadNow PRIVATE
DllGetClassObject PRIVATE
DllRegisterServer PRIVATE
DllUnregisterServer PRIVATE
If I use CString or char* then it work without any problem.
[Updated on: Thu, 09 June 2011 09:35] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 27 15:29:38 CEST 2024
Total time taken to generate the page: 0.06169 seconds
|