-
January 31st, 2003, 02:59 PM
#1
ReleaseUMinDependency error
I have been working with this dll trying to modify it. Things were working pretty good and then all of a sudden I am getting the following error:
Code:
Linking...
Creating library ReleaseUMinDependency/WMPreview.lib and object ReleaseUMinDependency/WMPreview.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseUMinDependency/WMPreview.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
WMPreview.dll - 2 error(s), 0 warning(s)
I can't figure out what I did to do this. I even went to the original dll that was a copy of the one I was modifing and it did the same thing.
Does anyone have a solution as to what I have to do to fix this?
Thanks in advance.
Mike@spb
-
January 31st, 2003, 03:18 PM
#2
From the error, I would suspect you changed the type of project you're creating (in project, settings).
Since it's looking for _main.. you've probably changed this to a console application.
A GUI type app would typically have WinMain(), and a Dll would have DllMain().
-
January 31st, 2003, 03:55 PM
#3
Undefine the _ATL_MIN_CRT symbol in the Project | Settings... Dialog. That's probably the cause of the error.
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
"It's hard to believe in something you don't understand." -- the sidhi X-files episode
galathaea: prankster, fablist, magician, liar
-
January 31st, 2003, 04:20 PM
#4
Yes that was the problem I had to remove all references to _Alt_MIN_CRT in project->settings
Thanks,
Mike@spb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|