Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a makefile secondsps.mk, How to make proxy stub dll from it.
I used nmake.exe from run menu,from command prompt,but it does nothing.
I tried VC++ wizard utility to create dll,but it seems it can only create exes
when I typed output file as dll,it gives error.
Can any one tell me please how to make dll from it.
Posted

1 solution

What do you mean with 'it does nothing'? At least you should get an error message.

VC++ Wizard is actually able to create DLL projects (note you need a COM project).
 
Share this answer
 
Comments
adityarao31 4-Apr-12 5:54am    
nmake when I used from run command box it simply does nothing.
VC++ wizard gives following error at build
NMAKE : fatal error U1073: don't know how to make 'dlldata.obj'
Stop.
barneyman 4-Apr-12 19:21pm    
dllData.c (the source for your make problem) is created by the midl compiler from your IDL file - so - you need access to the original com dll project source to make the corresponding proxy stub ...
adityarao31 5-Apr-12 6:17am    
I included dllData.c,& then compiled the code (after setting option Not using precompiled header but then I get errors as follows...

Generating Code...
Compiling...
dlldata.c
Generating Code...
Linking...
dlldata.obj : error LNK2001: unresolved external symbol _SECONDS_ProxyFileInfo
dlldata.obj : error LNK2001: unresolved external symbol __imp__NdrDllGetClassObject@24
dlldata.obj : error LNK2001: unresolved external symbol __imp__NdrDllCanUnloadNow@4
dlldata.obj : error LNK2001: unresolved external symbol _NdrCStdStubBuffer_Release@8
dlldata.obj : error LNK2001: unresolved external symbol _NdrCStdStubBuffer2_Release@8
Debug/SECONDS.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
barneyman 5-Apr-12 19:20pm    
have a look at ...
http://social.msdn.microsoft.com/Forums/eu/vcmfcatl/thread/fb5600e0-2915-4410-a2ae-f040a05d1ab0

i think you're very close

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