mIRC Home    About    Download    Register    News    Help

Print Thread
#199930 24/05/08 11:20 AM
Joined: May 2005
Posts: 449
Fjord artisan
OP Offline
Fjord artisan
Joined: May 2005
Posts: 449
Awhile ago, I wrote a nice DLL that would get the weather for any US ZIP code and say it in a channel. I have since lost the DLL, but I have the working parts of the code. I put it into a function and compiled. The problem is that I can't even get it to /comopen. No errors, no messages, nothing. I wrote a quick VB application with a textbox and button that uses the DLL and that works just fine. I've tried checking the box for "Register for COM Interop" as well as using regasm. Any suggestions? I can provide the VB code if anyone needs to look at it.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
you need to /comreg before you can use just any COM call, so that windows knows your library exists.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #200111 28/05/08 12:06 PM
Joined: May 2005
Posts: 449
Fjord artisan
OP Offline
Fjord artisan
Joined: May 2005
Posts: 449
The DLL was already registered with COM when it was created, and /comreg tells me that the DLL could not be registered.


Link Copied to Clipboard