Hello. I was wondering if someone here could tell me what is needed to call a win32 function from NASM. I thought I could declare MessageBox for example with EXTERN and then use LINK to link my object module with user32.lib (from visual studio) but I get "unresolved symbol MessageBox" error when linking. Any ideas what I'm missing or what I'm doing wrong here?
kindnumbernine 0 Newbie Poster
wildgoose 420 Practically a Posting Shark
kindnumbernine 0 Newbie Poster
wildgoose 420 Practically a Posting Shark
Evenbit 52 Junior Poster
kindnumbernine 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.