Click here to Skip to main content
15,918,050 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.

I have a problem. I am trying to use LoadLibrary on a symatnec dll. It's exports are shown below but I don't know where to begin. I've used LoadLibrary before on standard DLL's but not classes.

Can anyone see any problems with using this DLL, could someone help me.
C++
private: __thiscall Func::Func(void)
private: __thiscall Func::~Func(void)

public: int __thiscall Func::Clear(void)
public: int __thiscall Func::Init(void)
public: static class Func* __cdecl Func::New(void)
public: unsigned long __thiscall Func::Function(void)
public: void __thiscall Func::Delete(void)
public: void __thiscall Func::Free(void)


Thank you very much.

I have never used this website before so please forgive me. I have just found the improve question button.

I am using VS2005 but I am looking to download Symantec C++ now, although it does look very out of date.
Posted
Updated 17-Sep-10 3:14am
v3
Comments
CPallini 17-Sep-10 6:56am    
As Aesceal suggested, you should state the compiler you're using (C++ function name mangling is implementation-dependent).
noalias___ 17-Sep-10 8:54am    
I am using VS2005

 
Share this answer
 
Why don't you go with the standard way of doing it then: load the dll implicitely by using its library file ? If the DLL exports classes, then it is clearly meant to be used with implicit loading.
 
Share this answer
 
Are you using Symantec's C++ compiler to call the functions you're manually loading?

If you're not then there's a world of hurt coming your way. It's not impossible but it's a complete pain in the bum.

Cheers,

Ash
 
Share this answer
 
Comments
noalias___ 17-Sep-10 8:32am    
Hi.

I'm not but my end motive is trying to figure out how they ZIP Compress a stream. Although it looks like a zip there is something else going on.

I'll keep trying, thanks for the advice.
noalias___ 17-Sep-10 9:03am    
I am not I am using VS2005. I will take a look into it thankyou. The end goal is trying to figure out how Symantec compresses its zip streams because although I know they are zip compression if I try compressing a stream a handful of different ways they never decompress successfully. So I am hoping the information the DLL might provide might help me with this quest. Thankyou.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900