|
2 type of linking explicit linking which links at run time and other is implicit linking which links at load time.i think u are refering the latter
never say die
|
|
|
|
|
sunit5 wrote: explicit linking which links at run time and other is implicit linking which links at load time.i think u are refering the latter
He is questioning about the former one.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
expilcit linking is at run time so it is the latter
never say die
|
|
|
|
|
In your post it was former. I understood it in the order you had typed
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
This[^] article is for you
|
|
|
|
|
|
Hi all ,
I have one Dll which is activex control named as “AxInterop.ECLActiveX.dll”
I have to use this DLL in my application which is console base application.
this DLL export some function like "compreesFile" etc.
can anybody tell me how can call function from that DLL.
if anybody have for the please share with me.
thanks
bankey khandelwal
|
|
|
|
|
|
thanks for ur reply
but i have DLL which also developed in vc++
and also when trying to import this DLL as
# import "Interop.ECLActiveX.dll"
it giving a error like
fatal error C1083: Cannot open type library file: 'e:\workarea\data\code\consolebasetest\interop.eclactivex.dll': Error loading type library/DLL.
also this dll is at the same path
can you explain me what is the problem ?
|
|
|
|
|
|
Banks K wrote: I have one Dll which is activex control named as “AxInterop.ECLActiveX.dll”
ActiveX have the '.ocx' extension, not '.dll'. So, there is something wrong here.
|
|
|
|
|
Cedric Moonen wrote: ActiveX have the '.ocx' extension, not '.dll'.
ocx and dll are both same, ocx is just a dll with the extention renamed.
OK, so what's the speed of dark?
|
|
|
|
|
Monty2 wrote: ocx and dll are both same, ocx is just a dll with the extention renamed.
Not entirely true. ActiveX is based on a dll but it is more than just a regular dll (it provides much more than a simple dll). Thus there something strange here. Why does it speak about an ActiveX that has a .dll extension ? I just wanted to clarify the situation.
|
|
|
|
|
Not all files with a DLL extension are regular DLLs. An ActiveX control can be in a file with a DLL extension. It is common for an ActiveX control to be in a file with the OCX extension, but I think that is primarily due to the way VB uses them. Windows will use whatever file that is registered.
|
|
|
|
|
The definition of "ActiveX Control" is nebulous but typically they include a UI. If the control has a UI then you probably need to create a window for it.
|
|
|
|
|
when using this got error no guid is attach,how to solve this
error C2787: '_DBAccess' : no GUID has been associated with this object
hresult=CoCreateInstance(clsid,NULL,CLSCTX_INPROC_SERVER,__uuidof(_DBAccess),(LPVOID *) &t);
|
|
|
|
|
Is it because the you haven't registered the object (your dll, OCX, whatever) with regsvr32.exe?
|
|
|
|
|
im trying to write 40 01 00 20 (hex) to the registry as a binary number it is writing but it come out as 32 00 00 00 can someone show me the right way
DWORD value = 40,01,00,20;
DWORD dwvalue = sizeof(DWORD);
RegSetValueEx(
hKey,
"Attributes",
0,
REG_BINARY,
(LPBYTE) &value,
dwvalue
);
"Attributes"=hex:50,01,00,20
ok i found that if i do it as
value = 0x20000150; it will put it in the registry as 50 01 00 20 why does it turn it around?
|
|
|
|
|
locoone wrote: DWORD value = 40,01,00,20;
How did you get that line through the compiler??
Try this:
DWORD value = 0x40 << 24 | 0x1 << 16 | 0x0 << 8 | 0x20;
Regarding:
"Attributes"=hex:50,01,00,20
ok i found that if i do it as
value = 0x20000150; it will put it in the registry as 50 01 00 20 why does it turn it around?
It's beacuse Intel CPU's uses little endian, which stores numerical values in a "byte swapped" order.
Other CPU's may use big endian.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
locoone wrote: why does it turn it around?
Should not bother you, as you should read it back correctly.
|
|
|
|
|
First of all, my program runs fine with samll-scale data set, but not with large-scale data set. The problem has stuck me for a long time. I do not know what caused the failure, the shortage of mem space or the bugs in my program.
I wonder what message will be presented when the mem space is exhaused?
I have got the following error message.
"This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more info."
Anybody can list some possible reasons which may casuse this kind of error.
My project involves huge amount of data. I do not have any idea about this
-- modified at 23:58 Tuesday 19th December, 2006
|
|
|
|
|
cy163@hotmail.com wrote: "This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more info."
One of the reason could be (as mentioned in MSDN)
This problem may occur when you use the /GR and the /MD compiler switches, and the version of the Msvcrt.dll file and of the Msvcirt.dll file is 7.0.x.
cy163@hotmail.com wrote: samll-scale data set, but not with large-scale data set
Another one could be that you would be using a pointer for which you haven't allocated memory or you could also be writing to an invalid memory location that would be causing your application to crash.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi,
I am trying to implement the sending and receiving of consecutive frames from ECU using CAN Bus using VC++.
The idea is to send the following frames
TX 02 1A 00 00 00 00 00 00
RX 10 08 2F 63 08 07 80 00
TX 30 00 00 00 00 00 00 00 (flow control frame)
RX 21 FF FF 00 00 00 00 00 (consecutive frames 1)
RX 22 xx xx xx xx xx xx xx (consecutive frames 2)
RX 23 xx xx xx xx xx xx xx (consecutive frames 3)
(i have to wait untill i recieve all the consecutive frames and then send the next request)
TX...
RX...
The problem i am facing is that the timeout is happening because of which i am not receiving the consecutive frames at all (acc. to my assumption). Also the flow control frame is to be sent within 5 ms. I am finding a problem here too.
Can you please help me finding a solution to the following:
1. How to send a flow control frame within such less time? I used timers also but this doesnt work.
2. I have to recieve all the consecutive frames and thus i have to wait till all the frames are received. How can i achieve this?
Please help me with this.
Await for ur reply at the earliest.
Sunayana
|
|
|
|
|
how to change maximum count of recent files?
default cout is 4?
|
|
|
|
|
Where? Visual studio? What version?
John
|
|
|
|